#include <windows.h>

HWND panelWndCreate(HWND hwndParent, int x, int y, int dx, int dy)
{
    HWND hwnd;
    hwnd = CreateWindow (
           "STATIC",
           "",
           WS_VISIBLE | WS_CLIPCHILDREN | WS_CHILD,
           x,
           y,
           dx,
           dy,		   
           hwndParent,
           NULL,
           (HINSTANCE)GetWindowLong(hwndParent, GWL_HINSTANCE),
		   NULL
           );
    ShowWindow (hwnd, SW_SHOW);
    return hwnd;
}


